import pandas as pd
import matplotlib.pyplot as plt
# https://matplotlib.org/api/pyplot_summary.html
df = pd.read_excel('plt.xlsx',index_col='age')
df.sort_values(by='year')
df.plot.bar()
plt.ylabel('age')
plt.xlabel('year')
plt.title('age and year')
plt.show()